<!-- <template>
  <div>
      <h1>Hello world</h1>
      <p>{{title}}</p>
      <img src="../images/base64/logo.png"> <br>
      <img src="../images/base64/logo_yule.png">
      <h5 v-on:click="onClick">这是一段文本</h5>
  </div>
</template> -->


<script>

  var Style = require('./style.scss');

  module.exports = {

    template: '<h1>{{title}}</h1><h5 v-on:click="onClick">这是一段文本</h5>',

    data() {
      return {
        title: 'Vue-Demo Page'
      }
    },

    methods: {
      onClick: function(e) {
        // alert("Hello")/
        this.$data.title = 'Good'
        // this.hello = 'hello'
        // this.$set('hello', 'Hello')
      }
    },

    attached() {
      console.log('attached')
    }

  }
</script>